package com.liuzu.esys.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : 松松
 * @date : 2022/7/28
 * @desc :
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FinStoragBo {

    //商品财务账单编号
    @ExcelProperty(value = "商品财务账单编号")
    private Integer id;

    //商品编号
    @ExcelProperty(value = "商品编号")
    private Integer sid;

    //商品名称
    @ExcelProperty(value = "商品名称")
    private String name;

    //商品单价
    @ExcelProperty(value = "商品单价")
    private Double price;

    //商品数量
    @ExcelProperty(value = "商品数量")
    private Integer number;

    //出入库
    @ExcelProperty(value = "出入库")
    private String storag;

    //日期
    @ExcelProperty(value = "日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;

    //负责人
    @ExcelProperty(value = "负责人")
    private String manager;

    //金额
    @ExcelProperty(value = "金额")
    private Double sum;



}
